package com.cwl.pulgins.utils;

import com.intellij.notification.Notification;
import com.intellij.notification.NotificationType;
import com.intellij.notification.Notifications;

/**
 * @program: pulgin
 * @description:
 * @author: ChenWenLong
 * @create: 2019-09-03 15:58
 **/
public class LogUtils {

    public static void showError(String content) {
        Notifications.Bus.notify(new Notification("cwl", "cwl", content, NotificationType.ERROR));
    }

    public static void showInfo(String content) {
        Notifications.Bus.notify(new Notification("cwl", "cwl", content, NotificationType.INFORMATION));
    }
}
